﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IHISCETeim.BLL;
using IHISCETeim.Library;
using IHISCETeim.Model;

namespace IHISCETeim.Web.MachineSys.MarketModel.Execl
{
    public partial class ExportMMarketitemList : MMarketitemList
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataBind();
            
        }

        protected void DataBind()
        {

            this.rpMenu.DataSource = MMarketItemController.GetPagination(GetSql(), pageNum, 9999999, SQLSort, ref TotalCount);
            this.rpMenu.DataBind();

            ExportToExecl("市场部物料报表", this.rpMenu);
        }
    }
}